//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================
#ifndef __KEYBOARD_DATA_H__
#define __KEYBOARD_DATA_H__

typedef struct KBDStatus {
    uint8_t     uScanCode;
    uint8_t     uVirKey;
    uint16_t    uFlags;          //Event type, one of up/down/special
    bool_t      bKeyPress;       // TRUE: Press; FALSE: Release
    uint16_t    uLedStatus;
    uint16_t    uKbdStatus;
    uint8_t     uKeyboardIdentifier;
} KBDStatus;

typedef struct KPD_DATA {
    unsigned long keycode;
    unsigned long status;
} KPD_DATA;

// keyboard type
enum KeyType
{
    KEYDOWN = (1UL << 31),
    KEYUP = 0
};

#endif //__KEYBOARD_DATA_H__
